<!--添加菜单-->
<div class="btn-group" role="group" aria-label="...">
				  <a href="{:U('WxContent/add_keyword')}"><button type="button" class="btn btn-primary">添加关键字</button></a>		   
</div>
<div id="data_page" class="in_page">
	<div class="panel panel-default">
</div>
      <table class="table table-bordered">
        <thead>
          <tr>
            <th><span class="glyphicon glyphicon-leaf"></span>ID</th>
            <th><span class="glyphicon glyphicon-leaf"></span>关键字</th>
            <th><span class="glyphicon glyphicon-leaf"></span>回复内容</th>
            <th><span class="glyphicon glyphicon-leaf"></span>最后操作时间</th>
            <th><span class="glyphicon glyphicon-leaf"></span>操作</th>
          </tr>     
        </thead>
        <tbody>
         <tr>
           <td>{$arr['id']}</td>
           <td>{$arr['keyword']}</td>
           <td>{$arr['content']}</td>
           <td>{$arr['mtime']}</td>
           <td>
              <div class="btn-group" role="group" aria-label="...">
                 <a href="{:U('WxContent/keyword_update_index',array('id'=>$arr['id']))}"><button type="button" class="btn btn-xs btn-default"><span class="glyphicon glyphicon-ok"></span></button></a>
              </div>
          </td>
         </tr> 
          <volist name="list" id="data">
          <tr>
            <td>{$data['id']}</td>
            <td>{$data['keyword']}</td>
            <td>{$data['content']}</td>
            <td>{$data['mtime']}</td>
            <td>
               <div class="btn-group" role="group" aria-label="...">
                  <a href="{:U('WxContent/keyword_update_index',array('id'=>$data['id']))}"><button type="button" class="btn btn-xs btn-default"><span class="glyphicon glyphicon-ok"></span></button></a>
                  <a href="{:U('WxContent/keyword_del',array('id'=>$data['id']))}"  onclick="return confirm('是否确认删除？')"><button type="button" class="btn btn-xs btn-default"><span class="glyphicon glyphicon-trash"></span></button></a>
               </div>
           </td>
          </tr>
        </volist>
        </tbody>
      </table> 
</div>